﻿using System;
using Microsoft.Kinect;

namespace GestureMatching.DataStructure
{
    public class TimingNode
    {
        public TimingNode previous = null;
        public SkeletonPoint data;
        public DateTime createTime = DateTime.Now;
        public TimingNode next = null;

        public override string ToString()
        {
            String result = null;
            result =
                "{"
                + Tool.Stringify("X", data.X) + ","
                + Tool.Stringify("Y", data.Y) + ","
                + Tool.Stringify("Z", data.Z) + ","
                + Tool.Stringify("create_time", createTime.ToString()) + ","
                + "}";
            return result;
        }
    }
}